package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 后台人员管理对象 tb_back_officer
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class TbBackOfficer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 后台管理人员id */
    private Long backOfficerId;

    /** 后台管理人员名字 */
    @Excel(name = "后台管理人员名字")
    private String backOfficerName;

    /** 岗位id */
    @Excel(name = "岗位id")
    private Long postId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identificationNumber;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 密码 */
    private String password;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setBackOfficerId(Long backOfficerId) 
    {
        this.backOfficerId = backOfficerId;
    }

    public Long getBackOfficerId() 
    {
        return backOfficerId;
    }
    public void setBackOfficerName(String backOfficerName) 
    {
        this.backOfficerName = backOfficerName;
    }

    public String getBackOfficerName() 
    {
        return backOfficerName;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setIdentificationNumber(String identificationNumber) 
    {
        this.identificationNumber = identificationNumber;
    }

    public String getIdentificationNumber() 
    {
        return identificationNumber;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("backOfficerId", getBackOfficerId())
            .append("backOfficerName", getBackOfficerName())
            .append("postId", getPostId())
            .append("identificationNumber", getIdentificationNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("password", getPassword())
            .append("sex", getSex())
            .append("state", getState())
            .toString();
    }
}
